package com.ctshk.rpc.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author liushuai
 */
@Data
@ApiModel(value="LoginLogDTO对象", description="登录日志DTO")
public class LoginLogDTO implements Serializable {

    private Long id;

    private Long userId;

    @ApiModelProperty(value = "登录账户")
    private String userName;

    @ApiModelProperty(value = "部门")
    private String deptName;

    @ApiModelProperty(value = "操作IP")
    private String ip;

    @ApiModelProperty(value = "登录类型(pwd：首页密码登录；safety：安全登录)")
    private String type;

    @ApiModelProperty(value = "浏览器")
    private String browser;

    @ApiModelProperty(value = "登录时间")
    private LocalDateTime gmtCreate;

}
